import request from '@/utils/request'

// 查询病例模版管理列表
export function listCase_model_catalog() {
  return request({
    url: '/dms/case_model_catalog/list',
    method: 'get',
  })
}

// 查询病例模版管理详细
export function getCase_model_catalog(id) {
  return request({
    url: '/dms/case_model_catalog/' + id,
    method: 'get'
  })
}

// 新增病例模版管理
export function addCase_model_catalog(data) {
  return request({
    url: '/dms/case_model_catalog',
    method: 'post',
    data: data
  })
}

// 修改病例模版管理
export function updateCase_model_catalog(data) {
  return request({
    url: '/dms/case_model_catalog',
    method: 'put',
    data: data
  })
}

// 删除病例模版管理
export function delCase_model_catalog(id) {
  return request({
    url: '/dms/case_model_catalog/' + id,
    method: 'delete'
  })
}

// 导出病例模版管理
export function exportCase_model_catalog(query) {
  return request({
    url: '/dms/case_model_catalog/export',
    method: 'get',
    params: query
  })
}
